<?php 
if(@$_GET['id_del_ks']){
	$sql_del="delete from qldl_khach_san 
			  where MA_KHACH_SAN = '".$_GET['id_del_ks']."'
			 ";
		
	$query_del = @mysql_query($sql_del,$conn);
	if(!$query_del) echo "<script>alert ('Lỗi khi xóa thông tin.')</script>";
	else echo "<script>alert ('Xóa thông tin thành công.')</script>";
if(@$_GET['id_photo_ks']){
	$myphoto=$_GET['id_photo_ks'] ;
unlink($myphoto);
}
echo "<meta http-equiv='refresh' content='0;url=index.php?page=ks'>";
}

?>